// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from '@/router'
// import axios from 'axios'
import store from '@/store'
import VueLazyload from 'vue-lazyload'
import videojs from 'video.js'
import 'video.js/dist/video-js.css'


import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'; // 样式文件需要单独引入

import '@/styles/index.scss' // global css

import '@/icons' // 图标

Vue.use(ElementUI, VueLazyload)

Vue.config.productionTip = false
Vue.prototype.$video = videojs

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})